<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
   
 </body>
   <script>
       //1.函数，对象
	   function plane(){
	   
	   }
	   plane();
	   //创建一个plane的对象
	   var myplane = new plane();
	   //对象的属性
       myplane.name = "myplane";
	   window.alert(myplane.name);
       //创建一个对象a,再把创建的对象a赋给变量b
	   var a = new plane();
	   a.aa = "plane1";
	   var b = a;
	   window.alert(b.aa);
	   delete a.aa;//删掉a的属性aa
	   alert(b.aa);
   </script>
</html>
